<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <input type="radio" value="home" v-model="current" name="rad">home
    <input type="radio" value="page" v-model="current" name="rad">page
    <component :is="current"></component>
</div>
<script src="vue.js"></script>
<script>
    var vm = new Vue({
        el:'#app',
        data:{
            current:''
        },
        components:{
            home:{
                template:'<div>Hello</div>'
            },
            page:{
                template:'<div>world</div>'
            }
        }
    })
</script>
</body>
</html>